.index-page {
  min-height: 100vh;
  background: #f5f5f5;
}

/* 顶部导航栏 */
.header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 20px !important;
  height: 60px !important;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  width: 100% !important;

  .logo-area {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;

    .logo {
      font-size: 24px !important;
      font-weight: bold !important;
      color: white !important;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
      line-height: 1 !important;
    }
  }

  .nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px !important;
    flex: 1 !important;
    margin: 0 20px !important;

    .nav-item {
      color: white !important;
      font-size: 16px !important;
      font-weight: 500 !important;
      cursor: pointer !important;
      padding: 8px 16px !important;
      border-radius: 20px !important;
      transition: all 0.3s ease !important;
      position: relative !important;
      white-space: nowrap !important;
      line-height: 1.2 !important;

      &:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-1px) !important;
      }

      &.active {
        background: rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
      }
    }
  }

  .search-area {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 25px !important;
    padding: 8px 16px !important;
    min-width: 150px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    flex-shrink: 0 !important;
    height: 36px !important;

    .search-placeholder {
      flex: 1 !important;
      color: #666 !important;
      font-size: 14px !important;
      line-height: 1 !important;
    }

    .search-icon {
      font-size: 16px !important;
      color: #ff6b35 !important;
      margin-left: 8px !important;
      cursor: pointer !important;
      line-height: 1 !important;
    }
  }
}

/* 主体内容区域 */
.main-content {
  padding: 0;
}

/* 轮播图区域 */
.banner-section {
  margin-bottom: 30px;

  .banner-container {
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin: 0 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);

    .banner-swiper {
      height: 100%;
      width: 100%;
      border-radius: 12px;

      .banner-item {
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        overflow: hidden;

        .banner-image {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
        }
      }

      /* 轮播指示器样式 */
      .swiper-pagination {
        bottom: 20px !important;
      }

      .swiper-pagination-bullet {
        background: rgba(255, 255, 255, 0.5) !important;
        opacity: 1 !important;
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
      }

      .swiper-pagination-bullet-active {
        background: white !important;
        transform: scale(1.2);
      }
    }
  }
}

/* 服务特色区域 */
.services-section {
  display: flex;
  justify-content: space-around;
  padding: 30px 20px;
  background: white;
  margin: 0 20px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

  .service-item {
    text-align: center;
    flex: 1;
    padding: 0 10px;

    .service-icon {
      font-size: 32px;
      margin-bottom: 8px;
    }

    .service-title {
      font-size: 14px;
      font-weight: 600;
      color: #333;
      margin-bottom: 4px;
      display: block;
    }

    .service-subtitle {
      font-size: 12px;
      color: #666;
      display: block;
    }
  }
}

/* Lottie动画样式 */
.lottie-section {
  position: fixed;
  right: 0px;
  bottom: 200px;
  padding: 40px 20px;
  text-align: center;
  background: #f8f9fa;
  z-index: 999;

  .lottie-container {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  @media (max-width: 768px) {
    display: none;
  }
}

/* 功能模块区域 */
.modules-section {
  display: flex;
  gap: 15px;
  padding: 0 20px 20px;

  .module-item {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    }

    .module-content {
      flex: 1;

      .module-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 4px;
        display: block;
      }

      .module-subtitle {
        font-size: 12px;
        color: #666;
        display: block;
      }
    }

    .module-icon {
      .icon-text {
        font-size: 32px;
      }
    }
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header {
    padding: 0 15px;
    height: 50px;

    .logo {
      font-size: 20px;
    }

    .nav-menu {
      display: none;
    }

    .search-area {
      min-width: 120px;
      padding: 6px 12px;

      .search-placeholder {
        font-size: 12px;
      }
    }
  }

  .banner-section {
    margin-bottom: 20px;

    .banner-container {
      height: 350px;
      margin: 0 15px;
      border-radius: 8px;
    }
  }

  .services-section {
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 15px 15px;
    padding: 20px 15px;

    .service-item {
      flex: 0 0 calc(50% - 7.5px);
      padding: 0;

      .service-icon {
        font-size: 24px;
      }

      .service-title {
        font-size: 12px;
      }

      .service-subtitle {
        font-size: 10px;
      }
    }
  }

  .modules-section {
    flex-direction: column;
    padding: 0 15px 15px;
    gap: 10px;

    .module-item {
      min-height: 70px;
      padding: 15px;

      .module-content {
        .module-title {
          font-size: 14px;
        }

        .module-subtitle {
          font-size: 11px;
        }
      }

      .module-icon {
        .icon-text {
          font-size: 28px;
        }
      }
    }
  }
}

@media (max-width: 480px) {
  .header {
    .search-area {
      min-width: 120px;
    }
  }

  .banner-section {
    .banner-container {
      height: 250px;
      margin: 0 10px;
      border-radius: 6px;
    }
  }

  .services-section {
    .service-item {
      flex: 0 0 100%;
      margin-bottom: 10px;
    }
  }
}